<!DOCTYPE html>
<html lang="en">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HangMan</title>
<style>
body{
background-color: rgb(125, 217, 217);
}
h1{
margin-top: 180px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
color:purple;
font-weight: bolder;
font-size:50px;
}
</style>
</head>
<body>
<FORM NAME="f">
<center>
<h1>Hangman Game </h1>
<TABLE BGCOLOR=greenyellow BORDER=1>
<TR>
<TD COLSPAN=7 ALIGN=RIGHT>
Score : <INPUT TYPE=TEXT NAME="score" VALUE="0" onfocus="score.blur();" SIZE=10>
<BR>
Fails (6): <INPUT TYPE=TEXT NAME="lives" VALUE="0" onfocus="lives.blur();" SIZE=10>
</TD>
<TD COLSPAN=9 ALIGN=CENTER>
<INPUT TYPE=TEXT NAME="word" VALUE=" --- Hangman ---" onfocus="word.blur();" SIZE=50>
<BR>
<INPUT TYPE=TEXT NAME="tried" VALUE="Click GO to get a word." onfocus="tried.blur();" SIZE=50>
</TD>
<TD COLSPAN=4 ALIGN=CENTER>
<INPUT TYPE=BUTTON onclick="new_word(this.form);" VALUE=" GO ">
</TD>
</TR>
<TR>
<TD><INPUT TYPE=BUTTON VALUE=" A " onclick="seek('A');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" B " onclick="seek('B');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" C " onclick="seek('C');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" D " onclick="seek('D');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" E " onclick="seek('E');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" F " onclick="seek('F');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" G " onclick="seek('G');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" H " onclick="seek('H');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" I " onclick="seek('I');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" J " onclick="seek('J');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" K " onclick="seek('K');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" L " onclick="seek('L');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" M " onclick="seek('M');"></TD>
</TR>
<TR>
<TD><INPUT TYPE=BUTTON VALUE=" N " onclick="seek('N');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" O " onclick="seek('O');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" P " onclick="seek('P');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" Q " onclick="seek('Q');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" R " onclick="seek('R');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" S " onclick="seek('S');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" T " onclick="seek('T');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" U " onclick="seek('U');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" V " onclick="seek('V');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" W " onclick="seek('W');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" X " onclick="seek('X');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" Y " onclick="seek('Y');"></TD>
<TD><INPUT TYPE=BUTTON VALUE=" Z " onclick="seek('Z');"></TD>
</TR>
</TABLE>
</center>
</FORM>
<script src="script.js"></script>
</body>
</html>